package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 车辆表
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
@Data
  @TableName("t_car")
@ApiModel(value = "Car对象", description = "车辆表")
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("车牌号")
      private String carNum;

      @ApiModelProperty("车架号")
      private String vim;

      @ApiModelProperty("品牌型号")
      private String carBrand;

      @ApiModelProperty("车辆型号")
      private Boolean carType;

      @ApiModelProperty("车辆颜色")
      private String carColour;

      @ApiModelProperty("电池容量")
      private String capacity;

      @ApiModelProperty("续航里程")
      private String endurance;

      @ApiModelProperty("客户id")
      private Integer customerId;

      @ApiModelProperty("车辆状态")
      private String state;

      @ApiModelProperty("描述")
      private String mark;

      @ApiModelProperty("逻辑删除字段")
      private Integer flag;


}
